home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ For TASM / THUNK95.PAK / APP32.RC < prev    next >
Text File  |  1996-02-21  |  1KB  |  49 lines

  1. //----------------------------------------------------------------------------
  2. // Thunk95 example program
  3. // Copyright (c) 1996 by Borland International, All Rights Reserved
  4. //----------------------------------------------------------------------------
  5. #include "app32.rh"
  6.  
  7. ID_MAINMENU MENU
  8. {
  9.  POPUP "&Application"
  10.  {
  11.   MENUITEM "&About\tF1", CM_ABOUT
  12.   MENUITEM SEPARATOR
  13.   MENUITEM "&Exit\tAlt-F4", CM_EXIT
  14.  }
  15.  
  16.  POPUP "&Thunk Call"
  17.  {
  18.   MENUITEM "&Multiply\tCtrl-M", CM_MULTIPLY
  19.   MENUITEM "Multiply &Real\tCtrl-R", CM_MULTIPLYREAL
  20.   MENUITEM "&String Lookup\tCtrl-S", CM_GETSTRING
  21.   MENUITEM "&Employee Lookup\tCtrl-E", CM_GETEMPLOYEE
  22.  }
  23.  
  24. }
  25.  
  26.  
  27. ID_MAINMENU ACCELERATORS
  28. {
  29.  VK_F1, CM_ABOUT, VIRTKEY
  30.  "^M", CM_MULTIPLY, ASCII, CONTROL
  31.  "^R", CM_MULTIPLYREAL, ASCII, CONTROL
  32.  "^S", CM_GETSTRING, ASCII, CONTROL
  33.  "^E", CM_GETEMPLOYEE, ASCII, CONTROL
  34. }
  35.  
  36.  
  37. ID_ABOUTDLG DIALOG 6, 15, 194, 119
  38. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  39. CAPTION "About App32"
  40. FONT 8, "MS Sans Serif"
  41. {
  42.  DEFPUSHBUTTON "OK", IDOK, 72, 96, 50, 14
  43.  CTEXT "App32", -1, 30, 19, 134, 8
  44.  CTEXT "Windows '95 Flat Thunking Example", -1, 30, 34, 134, 8
  45.  CTEXT "Copyright \xA9 1996", -1, 30, 49, 134, 8
  46.  CTEXT "Borland, International", -1, 30, 64, 134, 8
  47. }
  48.  
  49.